Add header of jeeps-internal USB functions.
authorrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Fri, 18 Mar 2005 17:22:02 +0000 (17:22 +0000)
committerrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Fri, 18 Mar 2005 17:22:02 +0000 (17:22 +0000)
gpsbabel/jeeps/gpsusbint.h [new file with mode: 0644]

diff --git a/gpsbabel/jeeps/gpsusbint.h b/gpsbabel/jeeps/gpsusbint.h
new file mode 100644 (file)
index 0000000..3a0e001
--- /dev/null
@@ -0,0 +1,27 @@
+/*
+    Definitions for internal functions of Garmin USB implementation.
+    These symbols should not be publicly used.  They're "friend" functions
+    of USB details internal to jeeps.
+
+    Copyright (C) 2005 Robert Lipe, robertlipe@usa.net
+
+    This program is free software; you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation; either version 2 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program; if not, write to the Free Software
+    Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA
+
+ */
+
+int32 GPS_Packet_Read_usb(int32 fd, GPS_PPacket *packet);
+void  GPS_Make_Packet_usb(GPS_PPacket *packet, UC type, UC *data, int16 n);
+int32 GPS_Write_Packet_usb(int32 fd, GPS_PPacket packet);
+